Tab = nil

if !file.ExistsEx(ChatBotSettings.File) then
	Tab = { }
	print("ChatBot : Didn't find TableFile ! Starting new one , Use the command ChatBot_Save to fix this" )
	Tab["lol"] = { }
	Tab["lol"][1] = "It's funny, isn't it."
	Tab["lol"][2] = "Thats not funny..."
	Tab["lol"][3] = "Hahaha."
		
	Tab["lol?"] = { }
	Tab["lol?"][1] = "What?"
	Tab["lol?"][2] = "Thats not funny..."
	Tab["lol?"][3] = "Are you mocking me?"
		
	Tab["rofl"] = { }
	Tab["rofl"][1] = "It's funny, isn't it."
	Tab["rofl"][2] = "Thats not funny..."
	Tab["rofl"][3] = "Hahaha."
		
	Tab["lmao"] = { }
	Tab["lmao"][1] = "It's funny, isn't it."
	Tab["lmao"][2] = "Thats not funny..."
	Tab["lmao"][3] = "Hahaha."
		
	Tab["shhh"] = { }
	Tab["shhh"][1] = "Don't you shush me!"
	
	Tab["fuck"] = { }
	Tab["fuck"][1] = "You never know, I might be your mother , so don't swear XD ."
	Tab["fuck"][2] = "Don't swear please, it will make your teeth fall out!"
	
	Tab["why?"] = { }
	Tab["why?"][1] = "Why what?"
	Tab["why?"][2] = "'Why?' is not proper grammar!"
		
	Tab["what?"] = { }
	Tab["what?"][1] = "I didn't say anything ..."
	Tab["what?"][2] = "Nothing ..."
	
	Tab["what"] = { }
	Tab["what"][1] = "I didn't say anything ..."
	Tab["what"][2] = "Nothing ..."
	
	Tab["sugar"] = { }
	Tab["sugar"][1] = "I love sugar :D."
	Tab["sugar"][2] = "Sugar is sweet and so is choclate!!"
		
	Tab["darkrp"] = { }
	Tab["darkrp"][1] = "DarkRP is rubbish"
	
	Tab["rp"] = { }
	Tab["rp"][1] = "RP is rubbish"
	
	Tab[":d"] = { }
	Tab[":d"][1] = "You seem happy today!"
	
	Tab[":)"] = { }
	Tab[":)"][1] = "You seem happy today!"
	
	Tab[":("] = { }
	Tab[":("][1] = "What's wrong?"
	
	Tab["d:"] = { }
	Tab["d:"][1] = "What's wrong?"
	
	Tab["xd"] = { }
	Tab["xd"][1] = "LOL."
	
	Tab["nothing"] = { }
	Tab["nothing"][1] = "Nothing is everything that isn't known yet ..."
	
	Tab["anything"] = { }
	Tab["anything"][1] = "Anything is the things that are all around us ...."
	
	Tab["up"] = { }
	Tab["up"][1] = "The sky is up :D and so are the birds!"
	Tab["up?"] = { }
	Tab["up?"][1] = "The sky is up :D and so are the birds!"
	
	Tab["no"] = { }
	Tab["no"][1] = "meh"
	
	Tab["cool"] = { }
	Tab["cool"][1] = "Yes, it is cool, but not cold really..."
	
	Tab["nick?"] = { }
	Tab["nick?"][1] = "Yes?"
	
	Tab["yes"] = { }
	Tab["yes"][1] = "Yey!"
	
	Tab["yes?"] = { }
	Tab["yes?"][1] = "What?"
	
	Tab["hi"] = { }
	Tab["hi"][1] = "FUCK OFF"
else
	Tab = KeyValuesToTable( file.Read(ChatBotSettings.File))
	print("ChatBot : Loaded TableFile and inserted into main ChatBot AI !")
	
end

for _, f in pairs(file.Find("chatbot/*.txt")) do
	local tableF = KeyValuesToTable( file.Read("ChatBot/" .. f) )
	for k,v in pairs( tableF ) do
		table.insert( Tab, tableF )
	end
end